Jump to content

- PBXUser

- # PBXUser.UnconditionalRedirect

  Followers 0

  VBScript → Lua

  This property returns or sets the state of the user's (for whom the current script is running) undconditional redirection setting.

      If PBXUser.UnconditionalRedirect Then
        '...
      End If

      ' enable redirection
      PBXUser.UnconditionalRedirect = True

      ' disable redirection
      PBXUser.UnconditionalRedirect = False

  This property takes or returns a boolean value.

  Please note, that you need to set the number to which should be redirected using the PBXUser.UnconditionalRedirectNumber function.

  If your script should check how the user's redirection is configured, make sure it is placed above the Unconditional Redirection Rule in the Call Routing Manager's rule list. Otherwise your script will never be called if the user has enabled his redirection.

  By Tom Wellige

  - May 16, 2022
  Share
  Share
  Followers 0

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.